package cn.admin.service;

import cn.admin.entity.Admin;

/**
 * @Author: 毛苏宇
 * @Description: You can do it!
 * @Date: Create in 11:32 2019/3/23
 */

public interface AdminService {


    /**
     * 登录
     * @param admin
     * @return
     */
    Admin login(Admin admin);


    /**
     * 添加管理员
     * @param admin
     * @return
     */
    boolean addAdmin(Admin admin);


    /**
     * 是否存在该账号
     * @param admin_number
     * @return
     */
    boolean adminIsExist(String admin_number);

}
